package AbstractFactoryMethodPattern.example.framework;

public class CPU implements Product{
    private String name;

    @Override
    public void use() {
        System.out.println("CPU: " + name + " is working.");
    }

    public CPU(String name) {
        this.name = name;
    }
}
